How do I manually assign partitions while still being able to auto commit